﻿@model CmsChannelListVm
<div class="pic-list clearfix" id="news_list">
    @if (Model.ContentList.Any())
    {
        foreach (var item in Model.ContentList)
        {
            <a class="fl transtion" href="/ContentUI?id=@item.Id" target="_brank">
                <div class="picture_list_cn_single">
                    <div class="picture_list_img">
                        <img class="transtion" src="@item.ContentBackground">
                    </div>
                    <h4 class="auto_cut transtion">
                        @item.Title
                    </h4>
                    <div class="picture_line"></div>
                    <div class="picture_details transtion">
                        <span>详情</span>
                        <img src="/ui/images/icon_huijiantou.png">
                    </div>
                </div>
            </a>
        }
    }
</div>

@await Component.InvokeAsync(typeof(PaginationViewComponent), new { channelId = Model.Id, pageIndex = Model.PageIndx, pageSize = Model.PageSize, totalRow = Model.TotalRow, pathUrl = "/ChanUI/Index" })